<?php
/**
 * Created by DreamPHP.
 * Auth : Leruge
 * Email : leruge@163.cm
 * Date : 2018/01/30 1:03
 * Url : Http://www.shangjinclub.cn/
 */

namespace app\common\validate;

use think\Validate;

class Article extends Validate
{
    protected $rule = [
        'cateid|栏目名称' => 'require',
        'title|文章标题' => 'require|unique:article',
        'content|文章内容' => 'require'
    ];
}
